package main

import (
	"operator/routers"
	"operator/utils/logs"

	"github.com/gin-gonic/gin"
)

func main() {
	// 1. 加载程序的配置
	// 2. 配置gin
	r := gin.Default()
	logs.Info(nil, "程序启动成功")
	routers.RegisterRoutes(r)
	r.Run(":8080")
}
